<ui:composition
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:p="http://primefaces.org/ui"
        xmlns:po="http://primefaces.org/omega" xmlns:h="http://java.sun.com/jsf/html">
    <div class="sidebar">
        <div class="nano">
            <div class="nano-content sidebar-scroll-content">
                <div class="logo">
                    <p:graphicImage name="images/logo.png" library="omega-layout" width="113"/>
                </div>

                <div class="profile">
                    <p:graphicImage name="images/profile.png" library="omega-layout"/>
                    <a id="profile-button" href="#">
                        <span class="username"><h:outputText value="#{currentUserBean.name}"/></span>
                        <i class="fa fa-fw fa-cog"></i>
                    </a>
                    <ul>
                        <li><p:link outcome="/views/user-setting.xhtml"><i
                                class="fa fa-fw fa-sliders"></i><span>用户设置</span></p:link></li>
                        <!--<li><a href="#"><i class="fa fa-fw fa-bell"></i><span>通知</span><span-->
                                <!--class="menu-badge">2</span></a></li>-->
                        <li><p:link href="/logout-process"><i
                                class="fa fa-fw fa-sign-out"></i><span>登出</span></p:link></li>
                    </ul>
                </div>

                <div class="menu">
                    <h:form>
                        <po:menu model="${currentUserBean.menuModel}"/>
                    </h:form>
                </div>
            </div>
        </div>
    </div>
</ui:composition>